LearnPress\Models\UserItems\UserItemModel S

Total Complexity 38
Dependencies 11
Dependents 0
Total lines 355
Lines of code 150
Logical lines of code 91
Comment lines 157
Methods 13
Properties 14

Methods 13

Method Rating Maintainability Complexity Lines of code
save()
A
48 9 33
get_user_item_model_from_db()
S
54 4 21
get_meta_value_from_key()
S
59 4 16
get_expiration_time()
S
58 4 15
get_meta_model_from_key()
S
60 3 13
map_to_object()
S
67 3 8
get_total_timestamp_completed()
S
65 3 9
__construct()
S
73 2 6
get_user_model()
S
71 2 6
get_user_item_id()
S
82 1 3
set_user_item_id()
S
81 1 3
find()
S
67 1 7
clean_caches()
S
66 1 10